<template>
    <div id="app">
        <HelloWorld msg="Welcome to Your Vue.js App" />
        <van-tabbar v-model="active">
            <van-tabbar-item icon="home-o">主页</van-tabbar-item>
            <van-tabbar-item icon="friends-o">我的</van-tabbar-item>
            <van-tabbar-item icon="setting-o">设定</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<script>
    import HelloWorld from './components/HelloWorld.vue'
    export default {
        name: 'app',
        components: {
            HelloWorld
        },
        data() {
            return {
                active: 0,
            };
        }
    }
</script>

<style>
    #app {
        font-family: 'Avenir', Helvetica, Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-align: center;
        color: #2c3e50;
        margin-top: 60px;
    }
</style>
